package com.ssm.custom.dao.model.estad;


import com.jee.ssm.common.core.base.BaseModel;
import com.ssm.resource.dao.model.Image;
import com.ssm.resource.dao.model.Video;

import java.util.Date;

/**
 * 
 * 表名 d_estad
 * @author GaoXiang
 * @version 1.0
 * Create time 2017/05/13
 */
public class Estad extends BaseModel {
    /**
     * 
     * 表字段 : d_estad.id
     * Create time 2017/05/13
     */
    private String id;

    /**
     * 
     * 表字段 : d_estad.type
     * Create time 2017/05/13
     */
    private String type;

    /**
     * 
     * 表字段 : d_estad.content
     * Create time 2017/05/13
     */
    private String content;

    /**
     * 
     * 表字段 : d_estad.set_time
     * Create time 2017/05/13
     */
    private Date setTime;

    /**
     * 
     * 表字段 : d_estad.out_time
     * Create time 2017/05/13
     */
    private Date outTime;
    /**
     *
     * 表字段 : d_estad.out_time
     * Create time 2017/05/13
     */
    private String residenceId;
    /**
     * 图片资源
     * 关联表 d_image
     * Create time 2017/05/06
     */
    private Image image;

    /**
     * 视频资源
     * 关联表 d_video
     * Create time 2017/05/06
     */
    private Video video;
    /**
     * 构造方法
     */
    public Estad(String id, String type, String content, Date setTime, Date outTime, String residenceId, Image image, Video video) {
        this.id = id;
        this.type = type;
        this.content = content;
        this.setTime = setTime;
        this.outTime = outTime;
        this.residenceId = residenceId;
        this.image = image;
        this.video = video;
    }

    /**
     * 构造方法
     */
    public Estad() {
        super();
    }

    /**
     * 
     * @return id 
     */
    public String getId() {
        return id;
    }

    /**
     * 
     * @param id 
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 
     * @return type 
     */
    public String getType() {
        return type;
    }

    /**
     * 
     * @param type 
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 
     * @return content 
     */
    public String getContent() {
        return content;
    }

    /**
     * 
     * @param content 
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 
     * @return set_time 
     */
    public Date getSetTime() {
        return setTime;
    }

    /**
     * 
     * @param setTime 
     */
    public void setSetTime(Date setTime) {
        this.setTime = setTime;
    }

    /**
     * 
     * @return out_time 
     */
    public Date getOutTime() {
        return outTime;
    }

    /**
     * 
     * @param outTime 
     */
    public void setOutTime(Date outTime) {
        this.outTime = outTime;
    }

    public String getResidenceId() {return residenceId;}

    public void setResidenceId(String residenceId) {this.residenceId = residenceId;}

    public Image getImage() {
        return image;
    }

    public void setImage(Image image) {
        this.image = image;
    }

    public Video getVideo() {
        return video;
    }

    public void setVideo(Video video) {
        this.video = video;
    }
}